how can I set a REMOTE SERVER as the upload/browse path?

Last post 06-30-2011, 1:59 PM by cosmonaut. 4 replies.
Sort Posts: Previous Next
  •  03-25-2011, 12:10 PM 66854

    how can I set a REMOTE SERVER as the upload/browse path?

    I need to specify ONE remote path for all uploads, not a relative path on the same domain. How can I accomplish?
     
    The closest I got was I tried setting the AbsoluteImageGalleryPath at the php level to a fake folder: 
     
    $editor->AbsoluteImageGalleryPath = '~/somevirtualfolder';
     
    and in the apache config, added an alias:
     
    Alias /somevirtualfolder  http://xxx.xxx.xxx/uploads/images/
    or
    Alias /somevirtualfolder  \\networklocation\uploads\images\
     
    I think I run into permissions problems here.
     
     
    How can I set this sort of path? 
  •  03-25-2011, 1:19 PM 66855 in reply to 66854

    Re: how can I set a REMOTE SERVER as the upload/browse path?

    i needed to do this and I think I ran into permission problems as well.
     
    the solution I resorted to was , uploading the file to a temp folder in the same domain,  /uploadtemp  ( whatever ).
     
    I set up ftp access to the folder i needed ,  in the call back function of the uploader, called a php page to ftp the files to the other server, then unlinking the file in  the /uploadtemp dir.
     
    might be a bit of a round about way , but the user is unaware of whats actually happening anyway
     
    hope that helps
     
     
  •  06-28-2011, 4:04 PM 68228 in reply to 66855

    Re: how can I set a REMOTE SERVER as the upload/browse path?

    So word from support was that the editor/uploader does not work with UNC. 
     
    but what about NFS (on linux)?
     
    I still have this problem trying to set a single remote server.
  •  06-29-2011, 9:18 PM 68269 in reply to 68228

    Re: how can I set a REMOTE SERVER as the upload/browse path?

  •  06-30-2011, 1:59 PM 68289 in reply to 68269

    Re: how can I set a REMOTE SERVER as the upload/browse path?

    i am no longer on IIS.
     
    do you support NFS?
View as RSS news feed in XML