Questions in topic: "ftp" https://knowledge.亚搏在线safe.com/questions/topics/single/619.html The latest questions for the topic "ftp" FTP wildcard filename https://knowledge.亚搏在线safe.com/questions/86153/ftp-wildcard-filename.html

Hello.Does anyone know a solution on how to grab a file from FTP using wildcard along the lines offilename*.txt

We receive a daily file drop to our FTP with a timestamp attached to the end of the filename.It would be helpful if we can set up a workspace that grabs the file using partial filename only.This wildcard works for the folders on a local machines,but does not work for us on an FTP.


Any helps will be greatly appreciated.

ftp Wed,30 Jan 2019 22:18:56 GMT alexf
FTPCaller fails to navigate above home folder https://knowledge.亚搏在线safe.com/questions/81284/ftpcaller-fails-to-navigate-above-home-folder.html

Sorry if this is a duplicate of https://knowledge.亚搏在线safe.com/questions/34998/ftpcaller-download-file-higher-level-direcotory.html,but that's an old question and the answer didn't work for the original poster and I'm having the same problem.

I'm trying to use FTPCaller to grab files from a subfolder of a server.The home folder of my user is a different subfolder so I need to go up a level to get to where I want to go.

Server address: ftp://ftp.os.uk

/

--from-os (where I need to be)

--to-os (home folder)

I've tried ftp://ftp.os.uk/../from-os/ and this works fine in FileZilla but I get an Access Denied error in FME.ftp://ftp.os.uk/ successfully lists contents of the to-os folder and I have tried creating a subfolder and ftp://ftp.os.uk/Test successfully connects to to-os/Test,but nothing I've tried will get me back to the root level.

Access denied is a red herring as I have permissions for the root folder,can do it fine in FileZilla and I still get access denied if I put a path in that doesn't exist.

If anybody has suggestions of what I might be doing wrong I'd be very grateful,otherwise I think this must be a bug in FTPCaller.


Thanks

Tom



ftp ftpcaller Fri,26 Oct 2018 14:37:10 GMT tom_colley
FTPCaller VS SystemCaller for FTP Calls https://knowledge.亚搏在线safe.com/questions/71464/ftpcaller-vs-systemcaller-for-ftp-calls.html

Hello All,

I am posting this question to try to gain an in-depth understanding of the functionality of FTPCaller vs SystemCaller.

I designed a script that used SystemCaller to call on CoreFTP in order to upload and overwrite a file to a certain site and log the results in a text document.

This is the SystemCaller command:

""C:\Program Files\CoreFTP\Coreftp.exe" -O -u @Value(file_path) @Value(site_command) -log "@Value(routinglogdirectory)@Value(_rootname).log"

命令成功地工作。It took 12 seconds to run.

I switched to an FTPCaller to run the same function.

The time was reduced to 1 second.

Just for my understanding,I am wondering what is FTPCaller doing differently in the background?Would love to hear some insights from FME.

Thanks,

Fariya

ftp ftpcaller systemcaller Wed,30 May 2018 16:50:28 GMT fariyafarhad
Deleting files from FTP not working with FTPCaller https://knowledge.亚搏在线safe.com/questions/69725/deleting-files-from-ftp-not-working-with-ftpcaller.html

My case is similar with this case ‘' Deleting files from FTP - no errors inWorkSpace but files not deleted‘' but a suggestedsolution didn't work for me.

I have problem with FTPCallerwhen I try to delete oldest files on an FTP server.

The URL is the Full path andpoint to the specified files (remote file).See the transformer settingparameters screen shoot bellow.

But after a run of theworkbench,the translation log on FME show that these files has been deletedand everything seems good,as you can see bellow (URLs paths here areschematized based on my real data URLs configuration,Sorry,Confidentiality!!!!),but the files are not physically deleted on my FTP server.

The same user name works wellwhen I manually delete the file using Filezilla and WinSCP

I have tried variousparameters setting,no solution fund yet.

Translation Log (extract)

12:32:41| 5.4|0.0|INFORM|FTPCaller_OldFilesDeleter(FTPFactory): FTP: Deleted file 'https://myftpsite/_TestForDataFolders/ProductFolder/ProductName_WKww_yy.iso',total time: '0.531 seconds'

5.5|0.0|INFORM|FTPCaller_OldFilesDeleter(FTPFactory): FTP: Deleted file 'https://myftpsite/_TestForDataFolders/ProductFolder/ProductName_WKww_yy.iso.sha1','total time: '0.015 seconds'


Any Suggestions ?

Thanks In advance for yourhelp

ftp ftpcaller Fri,04 May 2018 18:17:56 GMT mhadysow
Open multiple datasets in multiple folders on FTP server directly ? https://knowledge.亚搏在线safe.com/questions/69526/open-multiple-datasets-in-multiple-folders-on-ftp.html

Hi,

As far as I can see,it's not possible to open a FTP based dataset directly in a reader (MapInfo TAB) ?

And FTPCaller only allows a single file to be downloaded at any time ?

I have multiple folders with multiple datasets (consisting of multiple files) to import,and doesn't want to do this one file at a time.

The optimal solution would be to open the datasets with a wildcard directly in a reader.Just like how you can within a ZIP.

How to proceed ?

Cheers.

ftp ftpcaller Thu,03 May 2018 07:22:51 GMT lifalin2016
SystemCaller used for coreFTP upload not working correctly https://knowledge.亚搏在线safe.com/questions/66646/systemcaller-used-for-coreftp-upload-not-working-c.html

Hello,

I am trying to run a simple FTP Upload operation by calling coreFTP using SystemCaller.

This is the command I am using:

"C:\Program Files\CoreFTP\Coreftp.exe" -s ftp://TESTUSER:TEST_PASS44@pvftp.ftpsite.ca -u 'C:\Users\User1\Desktop\testupload.txt' -log C:\Users\User1\Desktop\temp.log

This works fine in command prompt but I can't run the same code using systemCaller.I keep getting an error that says that the file is not found.What am I doing wrong here?Any help will be appreciated.Thanks!

Edit: I did a few tests and found out that if I take the single or double quotes off the name of the upload file,它在SystemCaller工作。But that fails for file paths that have spaces in them.Trying to put % instead of spaces (I found that as a suggestion) does not resolve the issue.Any thoughts?Thanks

ftp systemcaller coreftp Thu,22 Mar 2018 19:46:56 GMT fariyafarhad
Can you use the FTP Watch Publisher service without user authentication? https://knowledge.亚搏在线safe.com/questions/60212/can-you-use-the-ftp-watch-publisher-service-withou.html

We want to be able to monitor an open FTP service but the Publication Service requires a user?

ftp publication topic monitoring service Mon,18 Dec 2017 04:19:42 GMT darkspatiallord
FME FTP Caller Wrong Dataname https://knowledge.亚搏在线safe.com/questions/49149/fme-ftp-caller-wrong-dataname.html

Hi,

i have use a creator for initial and a ftp caller to upload a zipfile.But if the file was uploaded from the script to the ftp-server they have randomly unspedified names without expression.

Z.B.ftphJ32k

Whats the problem?

ftp 创造者 http调用者 workspace upload Mon,31 Jul 2017 14:54:03 GMT ivopaffrath
SFTP Watcher https://knowledge.亚搏在线safe.com/idea/47929/sftp-watcher.html

It would be helpful if FME Server 2017 had an SFTP Watcher.Currently the regular FTP Watcher does not support SFTP.I am aware that the Notification Service supports SFTP subscriptions but currently in 2017.0.1.1 there is no corresponding SFTP publication option.

server ftp download Thu,13 Jul 2017 19:34:23 GMT davisblack
FTP Caller Error in the SSH Layer https://knowledge.亚搏在线safe.com/questions/44753/ftp-caller-error-in-the-ssh-layer.html

I have been trying to get the FTPCaller transformer to upload data to a sftp site.I'm afraid everything ends up in the port and I get the following error "HTTP/FTP transfer error: 'Error in the SSH layer'".Any thoughts on what I can do to fix this?I'm able to upload data without issue using FileZilla and it does appear that I'm connecting to the sftp server correctly.Any support would be much appreciated!

ftp ftpcaller Fri,19 May 2017 20:33:01 GMT tara
FTPCaller Responses https://knowledge.亚搏在线safe.com/idea/35453/ftpcaller-responses.html

Hi,

The raw text string that we get back from the FTPCaller at the moment is hard to process.When selecting Download to an Attribute,it would be cool if you could select the response type to JSON or XML instead.

xml json ftp ftpcaller Tue,18 Oct 2016 14:51:22 GMT djmcdermott
Deleting files from FTP - no errors in WorkSpace but files not deleted https://knowledge.亚搏在线safe.com/questions/35371/deleting-files-from-ftp-no-errors-in-workspace-but.html

I'm using the FTPCaller to try and delete files on an FTP server.The translation log says "FTP: Deleted file 'ftp:// ',total time: '0.281 seconds'" but when I refresh the directory in my FTP client,the file is still there.

The FTP client shows dfrw permissions for the file and I can delete it in the FTP client.

I've tried using upper and lower case versions of the file name with the same result.

Any ideas?

ftp ftpcaller Mon,17 Oct 2016 17:37:08 GMT tim_wood
Use PythonCaller to get list of files in directory on FTP site https://knowledge.亚搏在线safe.com/questions/35179/use-pythoncaller-to-get-list-of-files-in-directory.html

OK I give up - help me!

This is my first attempt to use the PythonCaller (since FTPCaller can't yet download directories or accept wildcards).I've cobbled together some Python to retrieve a directory listing from an FTP site which I want to output (probably as a list) so I can generate the name of the file I want to download and pass it to FTPCaller.

I've done a whole lot of Googling but I can't fix this error on the feature.setAttribute line:

2016-10-12 17:46:48| 1.9| 0.1|WARN |Python Exception : not all arguments converted during string formatting

2016-10-12 17:46:48| 1.9| 0.0|WARN |Traceback (most recent call last):

File " ",line 30,in input

TypeError: not all arguments converted during string formatting

2016-10-12 17:46:48| 1.9| 0.0|ERROR |Error encountered while calling method `input'

2016-10-12 17:46:48| 1.9| 0.0|FATAL |f_32(PythonFactory): PythonFactory failed to process feature

import fmeimport fmeobjectsimport ftplib# Template Function interface:# When using this function,make sure its name is set as the value of# the 'Class or Function to Process Features' transformer parameterdef processFeature(feature):    pass# Template Class Interface:# When using this class,make sure its name is set as the value of# the 'Class or Function to Process Features' transformer parameterclass GetCSVs(object):    def __init__(self):        CSVlist = []    def input(self,feature):        ftp = ftplib.FTP("REDACTED")        ftp.login("REDACTED","REDACTED")        ftp.cwd("REDACTED")        try:            CSVlist = ftp.nlst()        except ftplib.error_perm,resp:            if str(resp) == "550 No files found":                print "No files found"            else:                raise        ftp.quit()        for i in enumerate(CSVlist):            feature.setAttribute('_list_CSVs{%d}' % i)    def close(self):        self.pyoutput(feature)

python pythoncaller ftp ftpcaller Wed,12 Oct 2016 16:58:05 GMT tim_wood
FTP Caller causes URL using bad/illegal format or missing URL https://knowledge.亚搏在线safe.com/questions/34112/ftp-caller-causes-url-using-badillegal-format-or-m.html

screen-shot-2016-09-15-at-115003-am.pngscreen-shot-2016-09-15-at-115019-am.png

FTP Caller causes URL using bad/illegal format or missing URL.I am trying to upload a file to my ftp server but keep getting this error.Attached are the screen shots of my configurations.I have tried various different possibilities but no luck.I have no trouble uploading file to my ftp server through command line.Here is thelog.txt


Variations I have tried (It can connect but says the url is bad!Because if i put bad username password etc I just get can't connect or get bad domain name error):

ftp://dev-gismap02.flysfo.com/
ftp://dev-gismap02.flysfo.com/home/abhandari/

ftp://dev-gismap02.flysfo.com
ftp://dev-gismap02.flysfo.com/home/abhandari

ftp://x.x.x.x/
ftp://x.x.x.x/home/abhandari/

ftp ftpcaller Thu,15 Sep 2016 20:56:15 GMT aayushb
Download and upload folder from ftp https://knowledge.亚搏在线safe.com/questions/32041/download-and-upload-folder-from-ftp.html

Is it possible to download (and upload) a complete folder (including all subfolders and files) from a FTP-server.

ftp ftpcaller Mon,08 Aug 2016 11:11:24 GMT stefanh