• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

upload to another windows server via CF

Explorer ,
Apr 06, 2007 Apr 06, 2007

Copy link to clipboard

Copied

basically, what i am trying to accomplish, is getting files to a server that is not public from a web server that is public via cffile.

i would be happy to upload the files to the public server and have them copy to the private server except that i have top make sure the names are unique as the filenames are written to an sql table once they are uploaded and renamed if necessary.

any ideas? i am sure there is an easy answer, i just can't think of one at the moment... thanks.
TOPICS
Advanced techniques

Views

336

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Apr 06, 2007 Apr 06, 2007


assuming you are on Windows:
i believe you can use UNC path to the private server you want to upload
files to in the "destination" attribute of <cffile>. you have to make
sure the local account CF is running under has proper permissions to the
destination direrctory. remember: CF by default is running under a LOCAL
account which is not necessarily same as account of user logged into the
cf box. so you have to grant proper permissions to the account CF is
running under, not the logged-in ...

Votes

Translate

Translate
LEGEND ,
Apr 06, 2007 Apr 06, 2007

Copy link to clipboard

Copied



assuming you are on Windows:
i believe you can use UNC path to the private server you want to upload
files to in the "destination" attribute of <cffile>. you have to make
sure the local account CF is running under has proper permissions to the
destination direrctory. remember: CF by default is running under a LOCAL
account which is not necessarily same as account of user logged into the
cf box. so you have to grant proper permissions to the account CF is
running under, not the logged-in user's account.

--
Azadi Saryev
Sabai-dee.com
Vientiane, Laos
http://www.sabai-dee.com

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 06, 2007 Apr 06, 2007

Copy link to clipboard

Copied

well, so as to not allow cf to have too many permissions, i have decided to do all of the management on the public server.

thanks for the reply....

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Apr 07, 2007 Apr 07, 2007

Copy link to clipboard

Copied

LATEST
You could also use CFFTP if the circumstances permit between servers.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation