Create folder in FTP site
Hello,
I have an FTP site that is used in conjunction with one of my processes. I would like to be able to check if a particular folder already exists in the FTP site, and if it doesn't create one. I have been able to do this within the regular file system (using the file utilities components Is Directory and Make Directory), but am having trouble setting this up in an FTP site. I have been trying to use those same components used for the file utilities, but can't seem to make it happen. Is it possible, and how should I go about doing this? Thank you ahead of time for any assistance.
Kendy,
Yes I am able to perform this task in the file system without any problems (creating network folders on shared network drives). I would like to be able to do the same with an FTP server. Aside from using an FTP server (uploading and downloading), I guess I'm lacking knowledge of how the back end of an FTP server works (I haven't had much luck in my google searches on the topic either). Should their be an accompanying file system location for an FTP site, or is FTP something that is set up on its own, seperate from a file system? If there is an accompanying file system location for an FTP server, then I can use the File Utility components to search for the folder, and create it if it doesn't already exist. I have tried doing this with the FTP site URL but am unable to get the MakeDir to work in this regard. I have also tried using the Put component from the FTP utilities. Placing a txt file in a folder that doesn't exist on my FTP server in hopes that it would create the directory, but this does not work either. I can Put the file in folders that already exist on the FTP site, but cannot automatically add these folders through a workflow.
Similar Messages
-
Hi guys,
Pretty much a novice, but looking for an app that will allow me to "watch" a folder and then sync (preferably close to real-time) that folder to a back up location of my choice (including an FTP site).
What is available?
ThanksI use Tri-Backup Pro...
http://www.tri-edre.com/english/tribackup.html -
NEW * Cannot upload folder to FTP site
Hi, I am a new user to Mac - switched from PC and I have several questions, my first is trying to upload files to an FTP site. It states the FTP can not be modified - however, using windows no problem. Can anyone help on this? TIA -
This is not an issue with Mac/PC compatibility.
FTP access from the Finder is read-only. You'll need a dedicated FTP client app such as Cyberduck (free), Transmit, Fetch or Filezilla (Free) -
Hello,
Some time ago I created a link to an FTP site that functions like a local directory. Recently, I needed to create another one but have forgotten how I created the first. I am able "add a network location" but that doesn't achieve the
same type of connection. Look at the images below. Number one is what I want to create, number two is the network location. Note the difference in icons in the first image. In the second image I display the properties of each type of link. I also opened a
DOS window. The connection I want show itself as a <DIR> while the network location shows as "***.lnk".
The type of link I want to create works much better with the interfaces of some of my installed programs, they navigate just like folders. The ***.lnk connections cannot be seen by the program's interface.
Do you recognize what kind of connection (#1) this is? And could you tell me how I can create another?
Thank you for your help, Tom
PS> I was unable to attach the images because my account wasn't verified so I will try to describe at least the icon I have. It is a open folder sitting vertically, there is an arrow in the lower left pointing upward and to the right. The properties
says it is a file folder, but its' location is the ftpsite including login and password There is only one tab shown when opening the properties.
Thanks again for your help, TomHi,
Have you tried mapping your fpt site as a local drive?
The FTPUSE command maps a remote share (FTP server) as a local drive.
http://www.ferrobackup.com/ftpuse/
Note
This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites.
Andy Altmann
TechNet Community Support -
How can I find out the server port for a secured FTP site and creating a FTP Connection Manager
I have to create a FTP Task to go out and get the files that our 3rd party vendor will be dropping on a secured FTP site. I have all the credentials to access that Secured FTP Site and have successfully done so through FileZilla.
Now I need to set-up a FTP Task to go out and get their files and in so doing create a FTP Connection Manager. Is there any way I can determine the
Server Port number from the Secured FTP site? I let it default to 21 and tried the Test Connect and it failed.
Thanks for your review and am hopeful for a reply.Hi ITBobbyP,
SSIS has a built in FTP task, while this only works for the FTP protocol, it doesn’t support SFTP. But there are some free clients like WinSCP and
SSIS SFTP Task Control Flow Component
available in the CodePlex which can invoked from SSIS.
References:
SSIS SFTP Task Control Flow Component approach
WinSCP approach
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
How to create a new FTP folder for a child theme for Word Press?
Hello, I am getting hung up on creating a new ftp folder in OS X 10.5.8 in order to set up a child theme. Once I am in the ftp file listing <Go - Connect to Server> I'm not sure how to create the folder after that. I've tried right clicking (external mouse). Newer Macs seem to have an Add Folder button at the top of the page. Does anyone know how to do this?
Hi laundry,
I tried that but it didn't work. I'm thinking I need to move in a different direction than the child theme option. Maybe I'll need to do this further down the road when my blog is more advanced. The Command +Shift+ N shortcut should work in other windows though right? -
How to create an ftp site?
Hello,
I am a novice website developer and I am learning the basics of Dreamweaver. I needed advice how I can go about a certain task: I have an excel file referencing several pdf's that I have pertaining to my business. There are dozens of pdfs. I was going to post my excel sheet, and also provide a link to an FTP site where visitors can view the files and read/download them as they wish. With Dreamweaver, how can I create an FTP site that can accomplish this? Or is there a spry element I can use to give visitors access to my pdf's? Thanks for any advice.Anytime you want to post something on the internet, you will have to have someplace to host them, whether it is a ftp, http site or another place to host your files. You don't need an ftp site to accomplish what you are trying to do. A simple webpage with links to the pdf will do exactly that.
If you are wanting just some place to host your pdf files, then you should google or bing it as search terms.
Jim -
How to read all files under a folder directory in FTP site
Hi Experts,
I use this SQL to read data from a file in FTP site. utl_file.fopen('ORALOAD', file_name,'r');
But this need to fixed file name in a directory. However, client generate output file with auto finename.
SO do we have any way to read all file by utl_file.fopen('ORALOAD', file_name,'r');
We need to read all file info. because client claim for security issue and does not to overwirte output file name,
we must find a way to read all file in output directory.
Thanks for help!!!
JimIf you use Chris Poole's XUTL_FTL package, I believe that contains functions that allows you to query the directory contents.
http://www.chrispoole.co.uk/apps/xutlftp.htm
Edited by: BluShadow on Jan 13, 2009 1:54 PM
misread the original post -
Hi,
My operating code DirectoryEntry ftpSvc = new DirectoryEntry ("IIS :/ / localhost / msftpsvc"); foreach (DirectoryEntry entry in ftpSvc.Childern) { ...},
in IIS6.0 work properly, but in IIS7.5 throws COMException exception under: The specified path cannot be found I installed all II 6 compatibility items, I have disabled user control authority, and tried "msftpsvc" also "FTPSVC" or "FTPSVC1"
. Nothing is working. It is working fine for W3svc and not for ftp sites alone
Can you please suggest a solution?Hi Santhoshkba86,
Actually this forum is to discuss the VS IDE, Since this thread is related to the IIS FTP site, like this thread:
http://social.msdn.microsoft.com/Forums/en-US/49703f19-8d27-4f90-9fb9-45905810d4b1/iis-ftp-site-creation-and-management-using-c?forum=csharpgeneral
I suggest you post this issue to the IIS forum:
http://forums.iis.net/default.aspx/41?IIS+7+and+Above, and there you would get dedicated support.
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Document Updates in a folder via FTP considered Publish Points?
Hello,
We currently have a website that is deployed via IIS that we are planning to move to Azure Web Services.
This web contains a folder in the web site directory that contains files and documents for users to download. The site itself contains code that manages the files, and presents specific files to specific users.
Throughout the month, these files and document gets updated (additions as well as replacements); even though the website does not get updated. Users use FTP to transfer files into current folder on the IIS server.
The issue we are facing:
My concern is that updating documents in this folder via FTP does not create a publish point (and considered as dynamic changes) and if the site is re-deployed or scaled, the document changes are not picked up.
Can anybody confirm that: If we use FTP to update documents in this folder, Azure Web Services will recognize this as a Publish Point?
Thank you. Your help is very much appreciated.
PCR.Thanks for the reply.
I confirmed that we are using Azure Websites.
We had a previous website with a similar situation where the website contained a folder with documents (pdf, doc, and xls). Files were added into this folder periodically. Then one day we noticed that a number of files were missing. When
we researched the problem, we were led to believe that something on the back end moved the website to a different server, and used a previous instance of the website.
Our web development manager thought he found an article that stated that we should not keep dynamic files within the website structure.
It would be great if this is no longer the case (or that we are mistaken in our interpretation). -
Ok, so last time I asked about uploading my iweb to a web site that I own and it was answered with a video that a teacher made for other teachers at her school. Well I finally tried it out and umm kinda didnt work out for me. So this is what I did.
Made my web page, publish to a folder, typed the url I want it to got to in the url line, went to my FTP program (its yummy ftp, not sure if thats the problem) and grabbed both files and uploaded them to my folder on the ftp site, went to my url www.uopaintball.com, nothing Any ideas ?????Hi Jonathon, The following advice is from Fetch -- another FTP program; but it may apply to your situation...
"The most common problem when trying to upload pages created with iWeb is that for your website to work correctly once you upload it, after you publish your website to a folder, you need to upload the contents of the folder - but not the folder itself - to your server."
...See more here:
http://fetchsoftworks.com/ubb/Forum2/HTML/003815.html
Also this may help:
http://www.fetchsoftworks.com/FetchWebHelp/Contents/Tutorial/UsingFetchWithiWeb. html -
Posting to FTP Site - Root Directory
My first time publishing to a hosted site but I can not seem to overwrite the old site data. My iWeb created site does not post to the root www.xxxx.ca but to www.xxx.ca/2010/Home.html.
2010 is the name of my site in iWeb and Home is the first page.
I would like this page (home) to go right to www.xxx.ca? Is there something I am missing?
Can anyone shed some light?
Thanks in advance!The OP can upgrade the hosting account to accommodate more than one IP address.
For example, I use the Host Excellence Ultimate Business plan which costs about $8 per month and allows for 15 dedicated IP Addresses.
The advantage of Host Excellence is that you don't have to upload to a folder with a predetermined name. Once the domain name is registered, a couple of clicks in the control panel will create a folder of that name as the root folder for that site.
All these root folders can be viewed side by side with any decent FTP application in any one account. -
Can't Open FTP Site in File Explorer
After installing Google Chrome, the option in Internet Explorer to Open FTP Site in File Explorer is not working. Click the drop down arrow on the Page button and select the option "Open FTP Site in File Explorer" and no explorer dialog box appears;
nothing appears. Internet Explorer 11 is the default web browser and the Operating
System is Windows 7 Pro.
Steps taken to resolve:
1. Verified FTP folder view and Use Passive FTP is enabled in Internet Explorer. Tools > Internet Options> Advanced > Browser
2. Opened the website in Compatibility View.
3. Reset the Internet Explorer settings in Tools > Internet Options > Advanced
4. Temporarily disabled the firewallHi James,
You may follow the article below to create an FTP shortcut:
Work with files on an FTP site
Or you may take a try with the solutions mentioned in the following thread:
This FTP site cannot be viewed in Windows Explorer.
Please note: Please backup your registry settings before you make any changes.
Reference: How to back up and restore the registry in Windows
Best regards
Michael Shao
TechNet Community Support -
My goal is to link together a course, a quiz for the course,
and a course survey that are all going to be hosted on a
password-protected FTP site. My first attempt to do this was by
going into movie preferences and pointing movie 1 to movie 2 and so
on. This works locally and it works if I put all files in the root
of the FTP site, but if I put the files in a subfolder (making the
appropriate path changes in the movie and republishing them), movie
1 ends and doesn't load movie 2. Using sub-folders is neccessary to
avoide confusing learners who will be accessing the FTP site.
I also tried using the Captivate Player and as with the other
method, it works locally. Regardless of where on the FTP site I put
the files, none of the movies load.
It seems to me that this is a problem that I'll have to take
up with my Network Admin, but it's Sunday and I was hoping that one
of you had an insight that could help me fix the problem today.
MichaelDon't apologize, Michael, we've all been "stressed out". You
said . . .
quote:
1. I published a movie to the FTP site as an SWF file, and when
I ran the HTML file for the movie, the movie ran. I then published
two movies to the site as SWF files that are linked together (the
first one linked to the second one in the movie preferences), then
I ran movie A. It ran and and then movie B started.
Good. Step 1 mission accomplished!
You said . . .
quote:
2. I created a sub-folder in the FTP site and placed the linked
SWF files there. Movie A runs, but movie B doesn't run when movie A
ends.
Taking you at your word, you
placed only the SWF file in the sub-folder, so the link was
broken - thus, the 2nd movie
couldn't run.
You said . . .
quote:
3. I published three movies to the root of the FTP site as SWF
files. I also uploaded the Captivate Player files to the site. I
modified the Player XML file so that the 3 SWF files are being
used. When I load the player, the menu shows the three movies, but
none of them will load.
Check the other Captivate Player files. Sounds
like something got left out when you either 1) configured Captivate
Player, or 2) uploaded the Captivate Player support files. From
what you said here, it sounds like it is Captivate Player that
isn't running, not the movies in the XML. You might double-check to
see if you are opening the "Index.HTML". Matter of fact, you might
even want to change the name of Index.HTML and link to the new name
. . . it won't fix this problem, but after you get it fixed, you
might find that renaming Index.HTML will eliminate some confusion.
Just a thought.
Overall Michael, it sounds to me like you are really tired
and expecting too much of yourself in that state. Take a fresh look
at it after getting some rest and a new perspective. Just another
thought, but this one is even better than the first.
. -
Transfer a file from App Server to a FTP site.
Hi, Abapers.
I need your help. Probably, this topic has already been posted in a similar way, but we need an answer to solve our problem.
We have to sent a PDF file from a directory of our app server (AIX) to a FTP directory... which would the FM sequence we should use to goal it?
Best Regards.Hi Santiago,
create fm to send file from APP server to FTP site.
if you want to Post file from desktop to Appl use Transaction - CG3Y
if you want to Post file from Appl to Desktop use Transaction - CG3Z
copy the code below....
* Author: Prabhudas Date: 02/21/2006 *
* Name: Z_FTP_FILE_TO_SERVER *
* Title: FTP File on R/3 Application Server to External Server *
*"*"Local Interface:
*" IMPORTING
*" REFERENCE(DEST_HOST) TYPE C
*" REFERENCE(DEST_USER) TYPE C
*" REFERENCE(DEST_PASSWORD) TYPE C
*" REFERENCE(DEST_PATH) TYPE C
*" REFERENCE(SOURCE_PATH) TYPE C
*" REFERENCE(FILE) TYPE C
*" REFERENCE(BINARY) TYPE CHAR1 OPTIONAL
*" REFERENCE(REMOVE_FILE) TYPE CHAR1 OPTIONAL
*" TABLES
*" FTP_SESSION STRUCTURE ZMSG_TEXT OPTIONAL
*" EXCEPTIONS
*" CANNOT_CONNECT
*" SOURCE_PATH_UNKNOWN
*" DEST_PATH_UNKNOWN
*" TRANSFER_FAILED
*" COMMAND_FAILED
DATA: w_password TYPE zftppassword,
w_length TYPE i,
w_key TYPE i VALUE 26101957,
w_handle TYPE i,
w_command(500) TYPE c.
REFRESH ftp_session.
* Scramble password (new Unicode-compliant routine)
w_length = STRLEN( dest_password ).
CALL FUNCTION 'HTTP_SCRAMBLE'
EXPORTING
SOURCE = dest_password
sourcelen = w_length
key = w_key
IMPORTING
destination = w_password.
* Connect to FTP destination (DEST_HOST)
CALL FUNCTION 'FTP_CONNECT'
EXPORTING
user = dest_user
password = w_password
host = dest_host
rfc_destination = 'SAPFTPA'
IMPORTING
handle = w_handle
EXCEPTIONS
not_connected = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
RAISING cannot_connect.
ENDIF.
* Optionally, specify binary file transfer
IF binary = 'X'.
w_command = 'bin'.
CALL FUNCTION 'FTP_COMMAND'
EXPORTING
handle = w_handle
command = w_command
TABLES
data = ftp_session
EXCEPTIONS
command_error = 1
tcpip_error = 2.
IF sy-subrc <> 0.
CONCATENATE 'FTP command failed:' w_command
INTO w_command SEPARATED BY space.
MESSAGE ID 'ZW' TYPE 'E' NUMBER '042'
WITH w_command
RAISING command_failed.
ENDIF.
ENDIF.
* Navigate to source directory
CONCATENATE 'lcd' source_path INTO w_command SEPARATED BY space.
CALL FUNCTION 'FTP_COMMAND'
EXPORTING
handle = w_handle
command = w_command
TABLES
data = ftp_session
EXCEPTIONS
command_error = 1
tcpip_error = 2.
IF sy-subrc <> 0.
CONCATENATE 'FTP command failed:' w_command
INTO w_command SEPARATED BY space.
MESSAGE ID 'ZW' TYPE 'E' NUMBER '042'
WITH w_command
RAISING source_path_unknown.
ENDIF.
* Navigate to destination directory
CONCATENATE 'cd' dest_path INTO w_command SEPARATED BY space.
CALL FUNCTION 'FTP_COMMAND'
EXPORTING
handle = w_handle
command = w_command
TABLES
data = ftp_session
EXCEPTIONS
command_error = 1
tcpip_error = 2.
IF sy-subrc <> 0.
CONCATENATE 'FTP command failed:' w_command
INTO w_command SEPARATED BY space.
MESSAGE ID 'ZW' TYPE 'E' NUMBER '042'
WITH w_command
RAISING dest_path_unknown.
ENDIF.
* Transfer file
CONCATENATE 'put' file INTO w_command SEPARATED BY space.
CALL FUNCTION 'FTP_COMMAND'
EXPORTING
handle = w_handle
command = w_command
TABLES
data = ftp_session
EXCEPTIONS
command_error = 1
tcpip_error = 2.
IF sy-subrc <> 0.
CONCATENATE 'FTP command failed:' w_command
INTO w_command SEPARATED BY space.
MESSAGE ID 'ZW' TYPE 'E' NUMBER '042'
WITH w_command
RAISING transfer_failed.
ENDIF.
* Disconnect from destination host
CALL FUNCTION 'FTP_DISCONNECT'
EXPORTING
handle = w_handle.
* Optionally, remove file from source directory
IF remove_file = 'X'.
CONCATENATE source_path '/' file INTO w_command.
CONCATENATE 'rm' w_command INTO w_command SEPARATED BY space.
OPEN DATASET '/dev/null' FOR OUTPUT FILTER w_command.
CLOSE DATASET '/dev/null'.
ENDIF.
Regards,
Prabhudas
Maybe you are looking for
-
hi everyone i just updated my nokia lumia 1020 to the new lumia black software. the problem is that after doing the update, raw support doesn't show under camera settings, neither story teller, neither live folder. does anybody have a solution?
-
How to refer to a field in an array of type object
I have an array that is passed to a Stored Proc. This array is a table of abc_object. type abc_object has 4 fields/elements. Example fld1, fld2,fld3 and fld4. I pass the array to a stored procedure. Inside the stored procedure, how can i refer to fld
-
Need assistance with Windows 2008 R2 server BSOD - ATTEMPTED_EXECUTE_OF_NOEXECUTE_MEMORY (fc) I have a Windows 2008 R2 server which is experiencing random BSOD during the night. This is occurring maybe once or twice a week. I have gathered two Memory
-
Can't run programs, Help!
-error message- Exception in thread "main" java.lang.NoClassDefFound: (whatever my class name is) Can anyone help?
-
what is the meaning of Evolution receipt settlements? help.sap.com